<?php
namespace app\admin\route;
use think\facade\Route;

//后台首页
Route::group('Index',function(){
    Route::get('personage','Index/password');
    Route::post('uppassword','Index/ChangePassword');
});

//后台登录
Route::group('Login',function(){
    Route::post('judge','Login/judge');
});

//后台鉴权管理
Route::group('Auth',function(){
    Route::get('Administrator','Auth/AddAdmin');
    Route::post('execute','Auth/AddManage');
    Route::get('allocation','Auth/allot');
});

//后台商品管理
Route::group('Mall',function(){
    Route::post('upload','Mall/addCommodity');
});

//后台添加分类
Route::group('Classify',function(){
    Route::post('kind','Classify/getStatusAllClassify');
});

